package generics;

public class Test
{
    public static void main (String[] args)
    {
        Generis<Integer> generis1 = new MakeGeneris1();
//        generis1.getName(21);
        System.out.println(generis1.getName(21));
        
        Generis<String> generis2 = new MakeGeneris2<>();
//        generis2.getName("陈某");
        System.out.println(generis2.getName("陈某"));
    }
}
